#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

#include <iostream>
#include <string>

#include <v8.h>

#include "jsmr.h"

int main(int argc, char* argv[]) {
  JSMR::DefaultOperationEnvironment env;
  const std::string config(argv[1]);

  JSMR::JSContainer container(&env, config);
  container.Boot();

  v8::V8::Dispose();
  return 0;
}
